<script language="javascript" src="../js/hotelLib.js" type="text/javascript"></script>

<?php
	require_once "../classes/AdministradorUsuarios.php";
	require_once "../lib/utils.php";
	
	$modifica = false;

	$action = "ControladorOperadora.php";
	$seccion = 11;
	
	$accion = "nuevaPapeleta";
	$boton = "Guardar Cambios";
	$idtext = "<input type='hidden' value='{$_REQUEST['id']}' name='id' />
			   <input type='hidden' value='{$_REQUEST['tipo']}' name='tipo' />";
	$boton = "Crear Papeleta";
	
	echo "
		<form name=\"form\" id=\"forma\" action=\"$action\" method=\"post\">
			<input type=\"hidden\" value=\"{$accion}\" name=\"accion\" />
			<input type=\"hidden\" value=\"{$seccion}\" name=\"seccion\" />
			{$idtext}
			<table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">
			<tr> <td>
					<table width=\"650\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">";

	echo "
						<tr>
                         <td class=\"formLabel\" width=\"35%\" align=\"right\">No Papeleta:</td>
                         <td><input size='45' type=\"text\" name='noPapeleta' value='{$u['Usuario']}' /></td>
						</tr>
						<tr>
						  <td class=\"formLabel\" align=\"right\">No Reservaci&oacute;n:</td>
						  <td><input size=\"45\" type=\"text\" name=\"noReser\" value='{$u['Email']}' /></td>
						</tr>
						<tr>
						  <td class=\"formLabel\" align=\"right\">Leyenda:</td>
						  <td> <textarea name=\"leyenda\" cols=\"41\" rows=\"3\" style=\"font-size:12px\"> </textarea> </td>
						</tr>
						<tr>
						  <td class=\"formLabel\" align=\"right\">Estatus:</td>
						  <td>
						  	<select name=\"estatus\">
								<option value=\"Pagado\"> Pagado </option>
								<option value=\"Pendiente\"> Pendiente </option>								
							</select>
						  </td>
						</tr>
					</table>
			</td> </tr>";
	echo	"
			<tr> <td>
            	<br/> 	<center> <!-- <input type=\"button\" value=\"{$boton}\" onclick=\"\"/>  -->
									<input type=\"submit\" value=\"{$boton}\" onclick=\"\"/>
						</center>
			</td> </tr>
			</table>						
		</form>";
	if($modifica){
		echo "
		<hr/>";
	}
?>